package com.stark.dzb.libs;

import com.stark.dzb.libs.databinding.ActivityMainBinding;

import stark.common.basic.base.BaseNoModelActivity;
import stark.common.basic.base.DefExitAppDialog;

public class MainActivity extends BaseNoModelActivity<ActivityMainBinding> {

    @Override
    protected int onCreate() {
        return R.layout.activity_main;
    }

    @Override
    protected void initView() {
        mDataBinding.btnTest.setOnClickListener(v -> {
        });
    }

    @Override
    protected void initData() {
    }

    @Override
    public void onBackPressed() {
        DefExitAppDialog dialog = new DefExitAppDialog(this);
        dialog.show();
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
    }

}